package cn.lx.resource;

import cn.lx.annotation.UserLog;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

/**
 * Created by Administrator on 2017/3/14.
 */
@Path("/test")
public class TestResource {
    @GET
    @Path("/test1")
    public String get1(){
        return "test1";
    }

    @UserLog
    @GET
    @Path("/test2")
    public String get2(){
        return "test2";
    }
}
